<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <#assign currentMenu="pointMessage"/>
    <#include "../common/header.ftl">
    <script src="/js/plugins/jquery-bootstrap/jquery.bootstrap.min.js"></script>
    <script src="/js/plugins/jquery-form/jquery.form.js"></script>
    <script src="/js/plugins/My97DatePicker/WdatePicker.js"></script>
    <style type="text/css">
        .modal-body {
            max-height: 750px;
            overflow-y: auto;
        }

        .modal-body img {
            width: 100%;
        }
    </style>
</head>
<body>

<div class="container " style="margin-top: 20px">
    <#include "../common/top.ftl">
    <div class="row">
        <div class="col-lg-3">
            <#include "../common/menu.ftl">
        </div>
        <div class="col-lg-9">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-head-line">积分信息</h1>
                </div>
            </div>

            <form class="form-inline" id="searchForm" action="/pointMessage/list.do" method="post">
                <input type="hidden" name="currentPage" id="currentPage" value="1">
                <div class="form-group">
                    <label>关键字:</label>
                    <input type="text" class="form-control" name="keyword" value="${(qo.keyword)!}"
                           placeholder="请输入邮箱或用户名">
                </div>
                <div class="form-group">
                    <label>时间:</label>
                    <input type="date" class="form-control" name="begin" value="${(qo.begin?string("yyyy-MM-dd"))!}"
                           onclick="WdatePicker({readOnly:true,maxDate:new Date()});" >
                </div>
                <div class="form-group">
                    <label> ~ </label>
                    <input type="date" class="form-control" name="end" value="${(qo.end?string("yyyy-MM-dd"))!}"
                           onclick="WdatePicker({readOnly:true,maxDate:new Date()});"  >
                </div>
                <button class="btn btn-info">
                    <span class="glyphicon glyphicon-search"></span> 查询
                </button>

            </form>

            <table class="table table-striped table-hover">
                <tr>
                    <th>序号</th>
                    <th>用户名</th>
                    <th>邮箱</th>
                    <th>操作时间</th>
                    <th>详情</th>
                </tr>
                <#list result.list as entity>
                    <tr>
                        <td>${entity_index + 1}</td>
                        <td>${entity.user.nickName}</td>
                        <td>${entity.user.email}</td>
                        <td>${entity.createTime?string("yyyy-MM-dd")}</td>
                        <td>${entity.msg}</td>
                    </tr>
                </#list>
            </table>
            <#include "../common/page.ftl">
        </div>
    </div>
</div>



<script type="text/javascript">
    $(function () {

    });
</script>
</body>
</html>